import HttpServer from '../utils/HttpServer'
import qs from 'qs';

export const getCarOrgList = (params) => {
	return HttpServer.post('/cljk/getCarOrgList', qs.stringify(params))
}

export const getCarPageList = (params) => {
	return HttpServer.post('/cljk/getCarPageList', qs.stringify(params))
}

export const getMonitorAlarmList = (params) => {
	return HttpServer.post('/cljk/getMonitorAlarmList', qs.stringify(params))
}


export const getMonitorSafeAlarmList = (params) => {
	return HttpServer.post('/cljk/getMonitorSafeAlarmList', qs.stringify(params))
}

export const getLc = (params) => {
	return HttpServer.post('/cljk/getLc', qs.stringify(params))
}

export const getHistory = (params) => {
	return HttpServer.post('/cljk/getHistory', qs.stringify(params))
}

export const getStopHistory = (params) => {
	return HttpServer.post('/cljk/getStopHistory', qs.stringify(params))
}

export const videoPlayBack = (params) => {
	return HttpServer.post('/cljk/video/playback', qs.stringify(params))
}

export const getVideoPlayBack = (params) => {
	return HttpServer.post('/cljk/video/playback/getresult', qs.stringify(params))
}


export const videoReUpload = (params) => {
	return HttpServer.post('/video/history/send', qs.stringify(params))
}

export const getVideoReUpload = (params) => {
	return HttpServer.post('/video/history/getZdVideoRS', qs.stringify(params))
}